﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="quanlytaikhoan.aspx.cs" Inherits="quanlytaikhoan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style7
        {
        	width:780px;
        }
        .style9
        {
            height: 40px;
        }
        .style11
        {
        }
        .style15
        {
            width: 332px;
            height: 40px;
        }
        .style16
        {
            height: 40px;
        }
        .style17
        {
            width: 332px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:MultiView ID="MultiView1" runat="server" 
        onactiveviewchanged="MultiView1_ActiveViewChanged">
    <div align="center" style="background-color: #f7f3f3">
    <asp:View runat="server" ID="View1">
        <table style="width: 780px; text-align: center;" cellpadding="0"
            cellspacing="0" align="center">
            <tr>
                <td class="style9" colspan="2">
                <img alt="Không hiển thị được" title="Quản lý tài khoản" src="image/quanlytk.gif" width="780px" height="40px" />
                </td>
            </tr>
            <tr>
            <td colspan="2">
                <br />
                <br />
                <br />
            </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style11" height="40">
                    Username:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                <td style="padding-left: 0px" align="left" height="40">
                    <asp:Label ID="lbusername" runat="server" ForeColor="Red" Font-Bold="True" 
                        Font-Italic="True" Font-Size="25pt"></asp:Label>
                    <br />
                </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style11" height="40">
                    Họ Tên:&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left" height="40">
                    <asp:TextBox ID="txthoten" runat="server" Width="50%" Height="25px"></asp:TextBox>
                    <br />
                </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style11" height="40">
                    Địa Chỉ:&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left" height="40">
                    <asp:TextBox ID="txtdiachi" runat="server" Width="50%" Height="25px"></asp:TextBox>
                    <br />
                </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style11" height="40">
                    Số Điện Thoại:&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left" height="40">
                    <asp:TextBox ID="txtsdt" runat="server" Width="50%" Height="25px"></asp:TextBox>
                    <br />
                </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style11">
                    &nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left">
                     
                                &nbsp;</td>
            </tr>
           
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnlaymatkhau" runat="server" OnClick="btnlaymatkhau_Click" BackColor="#A52B2B" ForeColor="White"
                        Text="Cập Nhật" ValidationGroup="capnhat" Width="119px" />
                    <asp:Button ID="bthuy" runat="server" OnClick="bthuy_Click" Text="Hủy" BackColor="#A52B2B" ForeColor="White"
                        Width="129px" />
                    <asp:Button ID="btdoimatkhau" runat="server" onclick="btdoimatkhau_Click" BackColor="#A52B2B" ForeColor="White"
                        Text="Đổi Mật Khẩu" Width="100px" />
                </td>
            </tr>
            <tr>
                <td class="style11">
                </td>
                <td style="padding-left: 0px;" align="left">
                    &nbsp; &nbsp; &nbsp; &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="padding-top: 10px">
                    <asp:Label ID="lbloi" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
          </asp:View>
    </div>
  
    <asp:View runat="server" ID="View2">
    <div align="center" 
            style="background-color: #FFFFFF; width: 780px; text-align: center;">
        <table style="text-align: center" cellpadding="0"
            cellspacing="0" align="center" width="780px">
            <tr>
                <td colspan="2" width="780" align="center" height="40" class="style9">
                    <img alt="Không hiển thị được" title="Đổi mật khẩu" src="image/doimatkhau.gif" height="40px" align="top" style="width: 780px; margin-left: 0px" /></td>
                
            </tr>
            <tr>
            <td colspan="2" height="40">
                <br />
                <br />
                <br />
                </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style15">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mật khẩu cũ:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left" width="500" class="style16">
                    <asp:TextBox ID="txtmatkhaucu" runat="server" Width="50%" TextMode="Password" 
                        Height="25px" style="margin-left: 0px"></asp:TextBox>
                    <br />
                </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style17" height="40">
                    Mật khẩu mới:&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left" height="40" width="500">
                    <asp:TextBox ID="txtmatkhaumoi" runat="server" Width="50%" TextMode="Password" 
                        Height="25px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Bạn chưa nhập mật khẩu"
                        Display="Dynamic" ValidationGroup="update" ControlToValidate="txtmatkhaumoi"></asp:RequiredFieldValidator>
                    <br />
                </td>
            </tr>
            <tr style="padding: 10px">
                <td align="right" class="style17" height="40">
                    Xác nhận mật khẩu:&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td style="padding-left: 0px" align="left" height="40" width="500">
                    <asp:TextBox ID="txtxacnhanmatkhaumoi" runat="server" Width="50%" 
                        TextMode="Password" Height="25px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Mật khẩu không hợp lệ"
                        ControlToCompare="txtmatkhaumoi" ControlToValidate="txtxacnhanmatkhaumoi" Display="Dynamic"
                        ValidationGroup="update"></asp:CompareValidator>
                </td>
            </tr>
            <tr style="padding-top: 10px">
                <td align="center" colspan="2" height="40">
                    &nbsp; &nbsp;<asp:Button ID="btndoimatkhau" runat="server" OnClick="btndoimatkhau_Click" BackColor="#A52B2B" ForeColor="White"
                        Text="Cập Nhật" ValidationGroup="update" Width="100px" />
                    &nbsp;&nbsp;<asp:Button ID="btnhuy" runat="server" OnClick="btnhuy_Click" Text="Hủy" BackColor="#A52B2B" ForeColor="White"
                        Width="100px" />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="padding-top: 10px" height="40">
                    <asp:Label ID="lbloidoimatkhau" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
        </div>
    </asp:View>
    </asp:MultiView>
</asp:Content>

